package com.random.sort;

import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

/**
 * @Author: YLTDMenglc
 * @Date: 2019/11/29
 * @Time: 15:57
 * @Description:
 */
public class SortTest {

    public static void main(String[] args) {
        // 方法1
//        RandomSortGroup randomSortGroup = new RandomSortGroup();
//        for(int k = 0;k < 4;k++){
//            List<List> list = randomSortGroup.randomGroup();
//            System.out.println("重新分组后:"+list);
//        }

        // 方法2
        RandomGroup randomGroup = new RandomGroup();
        for(int k = 0;k < 4;k++){
            List<String> randomGroup1 = randomGroup.getRandomGroup();
            System.out.println("重新分组后："+randomGroup1);
        }


    }
}
